package com.jieao.biz.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jieao.common.annotation.Excel;
import lombok.Data;

import java.util.Date;

/**
 * 游客反馈对象 site_feed_back
 *
 * @author jieao
 * @date 2020-09-11
 */
@TableName("site_feed_back")
@Data
public class SiteFeedBack {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId
    private Long id;

    /**
     * 游客id
     */
    private Long userId;

    /**
     * 反馈内容
     */
    @Excel(name = "反馈内容")
    private String content;

    /**
     * 联系方式
     */
    @Excel(name = "联系方式")
    private String link;

    @Excel(name = "是否阅读: 0.未阅读 1.已阅读")
    private Integer isRead;

    @Excel(name = "反馈时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
